﻿using System;
using System.Configuration;

namespace NDBGen.Configuration
{
    public class OutputElement : ConfigurationElement
    {
        const String PROPNAME_SCHEMA = "schema";
        [ConfigurationProperty(PROPNAME_SCHEMA, IsRequired = false)]
        public SchemaOutputElement Schema
        {
            get { return (SchemaOutputElement)this[PROPNAME_SCHEMA]; }
            set { this[PROPNAME_SCHEMA] = value; }
        }

        const String PROPNAME_DATA = "data";
        [ConfigurationProperty(PROPNAME_DATA, IsRequired = false)]
        public DataOutputElement Data
        {
            get { return (DataOutputElement)this[PROPNAME_DATA]; }
            set { this[PROPNAME_DATA] = value; }
        }
    }
}